﻿<%@ Page Title="Ngôi nhà nhỏ - Cập nhật tin" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="EditPost.aspx.cs" Inherits="Interface.Posts.EditPost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 141px;
            text-align: right;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="le-co-menu">
        <div class="le-co-ti-color">
            <div class="le-co-hi-title">CẬP NHẬT TIN TỨC</div>
        </div>
        <div class="dlQ">
            <center><asp:Label ID="lblMs" runat="server" ForeColor="Red"></asp:Label></center>
            <table class="style1">
                <tr>
                    <td class="style2">
                        Tiêu đề
                    </td>
                    <td>
                        <asp:TextBox ID="txtTitle" runat="server" ></asp:TextBox><asp:HiddenField ID="hdfID" runat="server" /><br />
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Nội dung ngắn</td>
                    <td>
                        <asp:TextBox ID="txtShort" runat="server" TextMode="MultiLine" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="style2">
                        Nội dung đầy đủ</td>
                    <td>
                        <asp:TextBox ID="txtFull" runat="server" TextMode="MultiLine" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="style2">
                        Hình ảnh</td>
                    <td>                        
                        <asp:FileUpload ID="fuPost" runat="server" /><br />                        
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                    </td>
                    <td>                                               
                        Current File: <asp:Label ID="lblCurrFile" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        Trạng thái</td>
                    <td>
                        <asp:DropDownList ID="ddlStatus" runat="server">
                            <asp:ListItem>Nháp</asp:ListItem>
                            <asp:ListItem>Xuất bản</asp:ListItem>
                            <asp:ListItem>Xóa</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="style2">
                        &nbsp;</td>
                    <td>
                        <asp:ImageButton ID="imbUpdatePost" runat="server" ImageUrl="~/Images/Icon/submit-button.png"  
                            onclick="imbUpdatePost_Click" style="text-align: right" Width="80px" />
                        <asp:ImageButton ID="imbCancel" runat="server" ImageUrl="~/Images/Icon/Back-button.png" onclick="imbCancel_Click" Width="80px" /></td>
                </tr>
                
            </table>
            
            
            

        </div>
</div>
</asp:Content>
